let common = {}

common.isLocalMock = function(o){
	if ( o instanceof Array) {
		return o[0].indexOf('.json') != -1 ? true : false;
	} else if(o instanceof String) {
		return o.indexOf('.json') != -1 ? true : false;
	}
}

export const isLocalMock = common.isLocalMock;
export default common